package vip.xiaonuo.biz.modular.banner.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * Banner轮播图实体类
 *
 * @author SNOWY_TEAM
 */
@Getter
@Setter
@TableName("biz_banner")
public class BizBanner {

    /** 主键 */
    @TableId
    @ApiModelProperty(value = "主键", position = 1)
    private String id;

    /** banner名称 */
    @ApiModelProperty(value = "banner名称", position = 2)
    private String name;

    /** 图片地址 */
    @ApiModelProperty(value = "图片地址", position = 3)
    private String url;

    /** 关联景区id */
    @ApiModelProperty(value = "关联景区id", position = 4)
    private String spotId;

    /** 是否启用：0否 1是 */
    @ApiModelProperty(value = "是否启用：0否 1是", position = 5)
    private Integer status;

    /** 排序字段 */
    @ApiModelProperty(value = "排序字段", position = 6)
    private String sort;

    /** 删除标志 */
    @TableLogic
    @ApiModelProperty(value = "删除标志", position = 7)
    private String deleteFlag;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间", position = 8)
    private Date createTime;

    /** 创建人 */
    @ApiModelProperty(value = "创建人", position = 9)
    private String createUser;

    /** 更新时间 */
    @ApiModelProperty(value = "更新时间", position = 10)
    private Date updateTime;

    /** 更新人 */
    @ApiModelProperty(value = "更新人", position = 11)
    private String updateUser;
} 